package com.linkhub.oms.admin.modules.logistic.domain.param;

import com.linkhub.oms.admin.modules.user.domain.param.BaseUserParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description LogisticPriorityEditParam.java
 * @createTime 2024/05/03 13:14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "LogisticPriorityEditParam", description = "LogisticPriorityEditParam")
public class LogisticPriorityEditParam extends BaseUserParam implements Serializable {
    @ApiModelProperty(value = "系统商店id", required = true)
    @NotBlank(message = "{logistic.channel.priority.sysShopId.notEmpty}")
    private String sysShopId;

    @ApiModelProperty(value = "运费名称", required = true)
    @NotBlank(message = "{logistic.channel.priority.shippingName.notEmpty}")
    private String shippingName;

    @ApiModelProperty(value = "渠道编码列表，按照优先级高低升序入参")
    @NotEmpty(message = "{logistic.channel.priority.channelPriority.notEmpty}")
    private List<String> channelCodeList;
}
